<?php
/*
 * @package Webhosting Component
 * @copyright Copyright (C) 2007 Jonas Brand. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * Official website: http://wh-com.de
 */

/*
* Sicherstellen, dass das Script nicht direkt aufgerufen wird
*/
defined( '_VALID_MOS' ) or die('Direct Access to this acript is not allowed');

require_once( $mainframe->getPath( 'toolbar_html' ) );

switch($task) {
    case 'listCats':
        TOOLBAR_webhosting::_LISTCATS(); break;
    case 'editCat':
        TOOLBAR_webhosting::_EDITCAT(); break;
    case 'addCat':
        TOOLBAR_webhosting::_EDITCAT(); break;
    case 'listFeatures':
        TOOLBAR_webhosting::_LISTFEATURES(); break;
    case 'editFeature':
        TOOLBAR_webhosting::_EDITFEATURE(); break;
    case 'addFeature':
        TOOLBAR_webhosting::_EDITFEATURE(); break;
    case 'listPlans':
        TOOLBAR_webhosting::_LISTPLANS(); break;
    case 'editPlan':
        TOOLBAR_webhosting::_EDITPLAN(); break;
    case 'addPlan':
        TOOLBAR_webhosting::_EDITPLAN(); break;
    case 'showConfig':
        TOOLBAR_webhosting::_CONFIG(); break;
    default:
	TOOLBAR_webhosting::_LISTPLANS(); break;
}
?>
